<?php

namespace App\Providers;

use Dreamcat\ConfigClient\Impl\Saver\SugarCrmSaver;
use Illuminate\Support\ServiceProvider;

/**
 * -
 * @author vijay
 */
class SugarCrmSaverProvider extends ServiceProvider
{
    /** @inheritDoc */
    public function register()
    {
        $this->app
            ->bind(
                SugarCrmSaver::class,
                function () {
                    return new SugarCrmSaver(env("SUGAR_CONFIG_DIR", "storage/sugar"));
                }
            );
    }
}

# end of file
